package com.victor.entity.toreport;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 冻结内容表
 * @author 
 *
 */
@Entity
@Table(name = "frozencontent")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class FrozenContent {
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY) // 主键类型--自动递增生成
	@Column(name = "id", unique = true, nullable = false, length = 11)
	private Integer id;// 编号,
	
	@Column(name = "frozenreason", length = 50)
	private String frozenreason;// 冻结原因
	
	@Column(name = "roots", length = 50)
	private String roots;// 溯源  举报表id
	
	@Column(name = "frozentime", length = 50)
	private String frozentime;// 冻结天数 0.终身冻结   1.一小时, 2.一天, 3.一周, 4.一个月,5.一年,6.二年,7.三年,
	
	@Column(name = "uid", length = 50)
	private String uid;// 用户id

}
